//
//  ItemCell.m
//  Clock
//
//  Created by NightElf_ZC on 16/4/28.
//  Copyright © 2016年 qianfeng. All rights reserved.
//

#import "ItemCell.h"

@implementation ItemCell

+ (ItemCell *)cellWithCollectionView:(UICollectionView *)collectionView andIndexPath:(NSIndexPath *)indexPath
{
    NSString * className = NSStringFromClass([self class]);
    UINib * nib = [UINib nibWithNibName:className bundle:nil];
    [collectionView registerNib:nib forCellWithReuseIdentifier:className];
    return [collectionView dequeueReusableCellWithReuseIdentifier:className forIndexPath:indexPath];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.llabel.backgroundColor = [tool randomColor];
    self.llabel.textColor = [UIColor whiteColor];
}

@end
